What's the correct way to expand a [0,1] interval to [a,b]?

Posted by Georg on Stack Overflow See other posts from Stack Overflow or by Georg
Published on 2010-06-14T09:37:06Z Indexed on 2010/06/14 9:42 UTC
Read the original article Hit count: 111

Filed under:

Many random-number generators return numbers between 0 and 1.

What's the best and correct way to get numbers between a and b?

© Stack Overflow or respective owner

Related posts about random